package com.java.multipledatasource.spring.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @author huxb
 * @date 2020/10/18 0018 下午 9:33
 * @Desciption  @Scope("prototype")  不是单例 不会实例化放入单例池中
 */
@Component
public class Test02 {

//    private String name;


    public Test02() {

    }


    @Autowired
    public Test02(IndexServiceI indexService) {

    }

    public static void main(String[] args) {

    }
}
